package cn.theten52.demo.patterns.design.creation.builder;

/**
 * 抽象类
 *
 * @author wangjin
 * @date 2020/12/29
 */
public abstract class VehicleBuilder {

    public static final String FRONT = "front";
    public static final String BACK = "back";

    protected Vehicle vehicle;

    public Vehicle getVehicle() {
        return vehicle;
    }

    public void initialize() {
        vehicle = new Vehicle();
    }

    public abstract void addWheels();

    public abstract void addLights();
}
